package com.hotel.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderInfoManager {
    private Integer infoId;
    private String userName;
    private Long userPhone;
    private String userIdCard;
    private String checkInDate;
    private String checkOutDate;
    private Integer roomId;
    private Integer roomFkEmploye;
    private RoomManager roomManager;


    public OrderInfoManager(String userName, Long userPhone, String userIdCard, String checkInDate, String checkOutDate, Integer roomId) {
        this.userName = userName;
        this.userPhone = userPhone;
        this.userIdCard = userIdCard;
        this.checkInDate = checkInDate;
        this.checkOutDate = checkOutDate;
        this.roomId = roomId;

    }

    @Override
    public String toString() {
        return "OrderInfoManager{" +
                "userName='" + userName + '\'' +
                ", userPhone=" + userPhone +
                ", userIdCard='" + userIdCard + '\'' +
                ", checkInDate='" + checkInDate + '\'' +
                ", checkOutDate='" + checkOutDate + '\'' +
                ", roomId=" + roomId +
                '}';
    }
}
